package com.liam.system.service.question;

import com.liam.common.core.domain.TableDataInfo;
import com.liam.system.controller.question.dto.QuestionAddDTO;
import com.liam.system.controller.question.dto.QuestionEditDTO;
import com.liam.system.controller.question.dto.QuestionQueryDTO;
import com.liam.system.domain.question.vo.QuestionDetailVO;
import com.liam.system.domain.question.vo.QuestionVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: LiamLMK
 * @CreateTime: 2025-04-04
 * @Description:
 * @Version: 1.0
 */

public interface IQuestionService {
    List<QuestionVO> list(QuestionQueryDTO questionQueryDTO);

    boolean add(QuestionAddDTO questionAddDTO);

    QuestionDetailVO detail(Long questionId);

    int edit(QuestionEditDTO questionEditDTO);

    int delete(Long questionId);
}
